package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.TrainType;

public interface TrainTypeMapper {
    int deleteByPrimaryKey(String fid);

    int insert(TrainType record);

    int insertSelective(TrainType record);

    TrainType selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(TrainType record);

    int updateByPrimaryKey(TrainType record);

	List<TrainType> selTrainType();

	List<TrainType> selTrainTypeByName(String name);

	TrainType selTrainTypeById(String string);
    
	List<TrainType>selectTrainTypeByCompanyId(String companyId);
	
	List<TrainType>selectTrainTypeByCompanyIdAndFnameL2(Map<String, String>map);
    
	String selectFnumber(String companyId);
}